<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<c:set var="basePath" value="${pageContext.request.contextPath}"/>
<script src="${basePath}/js/printFields.js"></script>
<!-- 打印卷内目录model -->
<div class="modal fade" id="printVolumeDirModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content" style='width:500px'>
            <div class="modal-header bg-primary" style="background: #455EC5;">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title">
                    <i class="icon-pencil"></i>
                    <%--<span id="comArticleInfoTitle" style="font-weight:bold">档案卷著录</span>--%>
                    <span id="printVolumeTitle" style="font-weight:bold"><!--标题--></span>
                </h4>
            </div>
            <div>
                <a class="waves-effect waves-button" href="javascript:;" onclick="insertRowPrint()" style="font-size: 14px"><i class="zmdi zmdi-plus"></i> 添加列数</a>
            </div>
            <div id="printTableDiv" style="text-align: center">
                <table id="printTable" class="table-bordered table-hover" style="width: 60%;margin:auto">
                    <thead>
                    <tr>
                        <th style="text-align: center">列</th>
                        <th style="text-align: center">字段</th>
                        <th style="text-align: center">操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    </tbody>
                </table>
            </div>
            <div class="modal-footer bg-info">
                <button type="button" id="printSubmitId" onclick="printSubmitAction()" class="btn blue">生成卷内目录</button>
            </div>
        </div>
    </div>
</div>

